package com.ktjy.java;

import com.ktjy.anno.Horus;

@Horus(hours = 4)
@Horus(hours = 4.5)
@Horus(hours = 2)
public class Worker {
    public static void main(String[] args) {
        Horus[] horus = Worker.class.getAnnotationsByType(Horus.class);
        for (Horus h : horus){
            System.out.println(h);
        }
    }
}
